def options(opt):
  pass

def configure(conf): pass

def build(bld):
  if not bld.env.HAVE_ZOOKEEPER_H: return
    
  bld.program(
    source = 'main.cpp jubavisor.cpp process.cpp',
    target = 'jubavisor',
    includes = '.',
    use = 'PFICOMMON LIBGLOG ZOOKEEPER_MT jubacommon jubatus_framework'
    )

  bld.program(
    features = 'gtest',
    source = 'jubavisor.cpp jubavisor_test.cpp process.cpp',
    target = 'jubavisor_test',
    includes = '.',
    use = 'PFICOMMON LIBGLOG ZOOKEEPER_MT jubacommon jubatus_framework'
    )
